package week8.thursday;

public class Student {
    private String name;
    private Transport transport;

    public Student(){
    }
    public Student(String name,Transport transport){}
    public  void show(){
        System.out.println(name+"上学的交通工具信息");
        transport.showInfo();

    }
}
